package by.koleda.benicetobunnies.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public class BunniesContract {

	public interface CompaniesColumns extends BaseColumns {
		public static final String COMPANY_NAME = "COMPANY_NAME";
		public static final String PARENT_COMPANY = "PARENT_COMPANY";
		public static final String ADDRESS = "ADDRESS";
		public static final String PHONE_NUMBER = "PHONE_NUMBER";
		public static final String LINK = "LINK";
	}

	public static final String CONTENT_AUTHORITY = "by.koleda.benicetobunnies.provider.BunniesProvider";

	public static final Uri BASE_CONTENT_URI = Uri.parse("content://"
			+ CONTENT_AUTHORITY);

	private static final String PATH_COMPANIES = "companies";

	public static class Companies implements CompaniesColumns {

		private Companies() {
		}

		public static final Uri CONTENT_URI = BASE_CONTENT_URI.buildUpon()
				.appendPath(PATH_COMPANIES).build();

		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.benicetobunnies.company";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.benicetobunnies.company";

	}

	public BunniesContract() {
	}
}
